<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
  <!-- Meta, title, CSS, favicons, etc. -->
  <meta charset="<?php $this->options->charset(); ?>">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title><?php $this->archiveTitle(array(
      'category'  =>  _t('分类 %s 下的文章'),
      'search'    =>  _t('包含关键字 %s 的文章'),
      'tag'       =>  _t('标签 %s 下的文章'),
      'author'    =>  _t('%s 发布的文章')
    ), '', ' - '); ?><?php $this->options->title(); ?></title>
 
  <link href="<?php $this->options->themeUrl('css/bootstrap.min.css'); ?>" rel="stylesheet">
  <link href="<?php $this->options->themeUrl('css/material.min.css'); ?>" rel="stylesheet">
  <link href="<?php $this->options->themeUrl('css/ripples.min.css'); ?>" rel="stylesheet">
  <link href="<?php $this->options->themeUrl('css/material-wfont.min.css'); ?>" rel="stylesheet">
  <link href="<?php $this->options->themeUrl('css/customs.css'); ?>" rel="stylesheet">
  <!--[if lt IE 9]>
    <script src="<?php $this->options->themeUrl('js/html5shiv.js'); ?>"></script>
    <script src="<?php $this->options->themeUrl('js/respond.js'); ?>"></script>
  <![endif]-->
  <!-- Favicons -->
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
  <?php $this->header(); ?>
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/favicon.ico">
  <link rel="shortcut icon" href="/favicon.ico">
</head>
<body>
<header>
  <div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" id="logo" href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title() ?></a>
      </div>
      <div class="collapse navbar-collapse">
        <ul class="nav navbar-nav">
          <li class="active"></li>
          <li class="active"><a href="<?php $this->options->siteUrl(); ?>"><i class="mdi-action-home"></i> &nbsp; <?php $this->options->title() ?></a></li>
          <!--顶部导航显示分类-->
          <?php $this->widget('Widget_Metas_Category_List')->to($Categorys); ?>
          <?php while($Categorys->next()): ?>
            <li><a<?php if($this->is('page', $Categorys->slug)): ?> class="current"<?php endif; ?> href="<?php $Categorys->permalink(); ?>" title="<?php $Categorys->name(); ?>"><?php $Categorys->name(); ?></a></li>
          <?php endwhile; ?>
          <!--END-->
          <!--顶部导航显示独立页-->
          <?php $this->widget('Widget_Contents_Page_List')->to($pages); ?>
          <?php while($pages->next()): ?>
            <li><a<?php if($this->is('page', $pages->slug)): ?> class="current"<?php endif; ?> href="<?php $pages->permalink(); ?>" title="<?php $pages->title(); ?>"><?php $pages->title(); ?></a></li>
          <?php endwhile; ?>
          <!--END-->
        </ul>
      </div>
      <!-- /.nav-collapse -->
    </div>
    <!-- /.container -->
  </div>
  <!-- /.navbar -->
</header>
